<dl>

	<dt>我的站点<a href="<?=n_url('nsite','siteEdit')?>" style="color:#67AF31;float:right;">创建</a></dt>
	<dd>
		<?php
		if(!empty($data['my'])){
		foreach($data['my'] as $key=>$val){
			if(isset($data['join'][$key]))unset($data['join'][$key]);
			?>
		<a class="menu-site" href="<?=n_url('nsite','summary',array('scode'=>$val['scode']))?>">
			<?=$val['name']?>
				<?php
				if($val['scode']==$data['scode']){
				?>
				<img src="<?=n_img('skin','/dms/menu-up.png')?>" />
				<?php
				}else{
				?>
				<img src="<?=n_img('skin','/dms/menu-down.png')?>" />
				<?php
				}
				?>
		</a>
				<?php
				if($val['scode']==$data['scode']){
				?>
				<?=n_mod('nsite')->getCurrentPlugins($val['scode'])?>
				<?php
				}
				?>
			<?php
		}
		}
		?>
		<?php
		if(!empty($data['join'])){
		foreach($data['join'] as $key=>$val){
			?>
		<a class="menu-site" href="<?=n_url('nsite','summary',array('scode'=>$val['scode']))?>">
			<?=$val['name']?></a>
				<?php
				if($val['scode']==$data['scode']){
				?>
				<?=n_mod('nsite')->getCurrentPlugins($val['scode'])?>
				<?php
				}
				?>
			<?php
		}
		}
		?>
		<?php
		if(empty($data['my']) && empty($data['join'])){
		?>
		<a href="<?=n_url('nsite','siteEdit')?>">创建站点</a>
		<?php
		}
		?>
	</dd>
</dl>
